package com.fujimana.rockincat.restree.init;

import com.fujimana.rockincat.restree.init.binder.BinderHandler;
import com.fujimana.rockincat.restree.init.converter.ConverterHandler;
import com.fujimana.rockincat.restree.init.filter.FilterHandler;
import com.fujimana.rockincat.restree.init.message.MessageHandler;
import com.fujimana.rockincat.restree.init.method.MethodHandler;
import com.fujimana.rockincat.restree.init.resource.ResourceHandler;


public class ClassFileDeployer extends AbstractDeployer<Item> {

	protected ClassFileDeployer() {
		super(new String[]{"restree.target"});
	}

	@Override
	public Handler<Item> getHandler() {
		Handlers<Item> handlers = new Handlers<Item>();
		
		handlers.add(new MethodHandler());
		handlers.add(new ConverterHandler());
		handlers.add(new BinderHandler());
		handlers.add(new ResourceHandler());
		handlers.add(new FilterHandler());
		handlers.add(new MessageHandler());
		
		return handlers;
	}

	@Override
	public Scanner getScanner() {
		return new URLScanner();
	}

}
